'use strict';

function find_last_even(collection) {
  let result;
  for(let i=collection.length-1;i>-1;i--){
    if(collection[i]%2==0){
      result=collection[i];
      break;
    }
  }
  return result;
}

module.exports = find_last_even;
